int max(int a, int b)
{
    int max = 0;
    if (a >= b)
    {
        max = a;
    }
    else
    {
        max = b;
    }
    return max;
}